package com.ruoyi.project.system.commodity.mapper;

import com.ruoyi.project.system.commodity.domain.GoodsInfo;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface GoodsInfoMapper {
    public int insertGoodsInfo(GoodsInfo goodsInfo);
    public int querySpuCount();
    public void updateGoodsInfo(GoodsInfo goodsInfo);
    public List<GoodsInfo> querySpu(int start,int pageSize);
    public List<GoodsInfo> querySpuByName(GoodsInfo goodsInfo);
    public List<String> queryPath(String path);
    public void offShelfGoodsById(int id);
    public void putShelfGoods(int id);
    public void deleteSpu(int id);
}
